package router

import (
	"api-gateway/handler/api"
	"github.com/gin-gonic/gin"
)

func GoodsRouter(a *gin.RouterGroup) {
	goods := a.Group("/goods")
	{
		goods.POST("/login", api.Login)
		//goods.Use(pkg.JWTAuth(consts.JWT_KEY))
		goods.POST("/list", api.List)
		goods.POST("/teamList", api.TeamList)
		goods.POST("/doctorList", api.DoctorList)
		goods.POST("/ding", api.Ding)
		goods.POST("/update", api.Update)
		goods.POST("/chat", api.Chat)
	}
}
